home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 041a / look2_21.zip / LOOK2.DOC < prev    next >
Text File  |  1993-05-31  |  40KB  |  1,012 lines

  1.  
  2.                         LOOK2 v2.1 DOCUMENTATION
  3.  
  4.              LOOK2 v2.1  ∞ A 32-bit OS/2 File Viewing Utility ∞  
  5.                 Copyright (c) 1992, 1993 GCB Software (tm)
  6.                     8511 Selway Drive, Austin, TX 78736  
  7.  
  8.  
  9.    >>>>>>>>>>>>>>>>>>>>>>>> SHAREWARE SOFTWARE <<<<<<<<<<<<<<<<<<<<<<<<<
  10.  
  11.    LOOK2 is copyrighted software.  You may and are encouraged to copy
  12.    and share it with others as long as it is copied in its entirety
  13.    unmodified and no charge is made for it.  If you find LOOK2 useful in
  14.    your OS/2 environment, please send a $25 registration fee along with
  15.    a filled-out registration form to the address below.  In return, you
  16.    will receive a lifetime registration number that is valid for this
  17.    and any future versions of LOOK2.  Registered users will receive
  18.    notifications by mail when new versions of LOOK2 are available to be
  19.    downloaded.
  20.  
  21.    Although LOOK2 was written with great care and attention (I wrote it
  22.    originally for my own use), it like any other computer program may
  23.    contain bugs.  That being the case, I must, reluctantly, make the
  24.    following disclaimer.
  25.  
  26.    %%%%%%%%%%%%%%%%%%%%%%%%%% DISCLAIMER %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  27.  
  28.    THE USER OF THE PROGRAM BY USING IT AGREES NOT TO HOLD GCB SOFTWARE
  29.    NOR ITS OWNERS NOR ITS EMPLOYEES LIABLE FOR ANY DAMAGE THAT MAY
  30.    HAVE BEEN CAUSED BY EITHER THE PROPER OR IMPROPER FUNCTIONING OR 
  31.    BY THE USE OR MISUSE OF THE LOOK2 SYSTEM.
  32.  
  33.    %%%%%%%%%%%%%%%%%%%%%%%% END OF DISCLAIMER %%%%%%%%%%%%%%%%%%%%%%%%
  34.  
  35.    That being said, if you decide to become a registered user of LOOK2,
  36.    PLEASE let me know of any bugs you encounter in LOOK2.  I may be
  37.    contacted by mail at the address below.  If there is a feature
  38.    that you would like to see changed or added, please don't hesitate to
  39.    let me know.  I cannot promise I will be able to implement your
  40.    ideas, but I will do my best. 
  41.  
  42.    Gary Bourque
  43.    GCB Software
  44.    8511 Selway Drive
  45.    Austin, TX 78736
  46.  
  47.  
  48.  
  49.  
  50.  
  51.                           TABLE OF CONTENTS
  52.  
  53.  
  54.  
  55.    1.  WHAT'S NEW FOR VERSION 2.1, 2.0 - - - - - - - - - -  1
  56.  
  57.    2.  HOW TO REGISTER FOR LOOK2   - - - - - - - - - - - -  3
  58.  
  59.    3.  INTRODUCTION  - - - - - - - - - - - - - - - - - - -  4
  60.        What is LOOK2?    - - - - - - - - - - - - - - - - -  4
  61.        LOOK2 Philosophy  - - - - - - - - - - - - - - - - -  5
  62.  
  63.  
  64.    4.  RUNNING LOOK2   - - - - - - - - - - - - - - - - - -  6
  65.        Starting LOOK2    - - - - - - - - - - - - - - - - -  6
  66.        Filespec Variations   - - - - - - - - - - - - - - -  6
  67.        Directing LOOK2 with the Keyboard and Mouse - - - -  6
  68.        Setting LOOK2 Options   - - - - - - - - - - - - - -  7 
  69.        The LOOK2FLAGS Environment Variable  - - - - - - -   7
  70.        LOOK2 Options  - - - - - - - - - - - - - - - - - -   8
  71.  
  72.  
  73.    5.  THE DIRECTORY SCREEN  - - - - - - - - - - - - - - - 11
  74.        Directory Screen Option Commands  - - - - - - - - - 11
  75.        Directory Screen Action Commands  - - - - - - - - - 12
  76.        Directory Mouse Actions - - - - - - - - - - - - - - 14
  77.        Directory Screen Usage Notes  - - - - - - - - - - - 14
  78.  
  79.  
  80.    6.  THE FILE SCREEN   - - - - - - - - - - - - - - - - - 15
  81.        File Screen Option Commands   - - - - - - - - - - - 15
  82.        File Screen Action Commands   - - - - - - - - - - - 16
  83.        File Screen Usage Notes   - - - - - - - - - - - - - 17
  84.  
  85.  
  86.    7.  OTHER LOOK2 NOTES   - - - - - - - - - - - - - - - - 18
  87.  
  88.  
  89.  
  90.  
  91.    1. WHAT'S NEW FOR VERSION 2.1
  92.  
  93.          Version 2.1 contains bug fixes related to OS/2 2.1.
  94.  
  95.          A. Full-screen session freezes upon program exit.
  96.  
  97.          B. Speed up directory screen light bar in window session.
  98.  
  99.          C. alt-R command added to re-read directory,
  100.             refresh directory screen;
  101.  
  102.  
  103.       WHAT'S NEW FOR VERSION 2.0
  104.          PLEASE NOTE THAT SOME OPTIONS AND COMMANDS HAVE CHANGED.
  105.          Please review the documentation and help screens if you 
  106.          have problems.  If you are using OS/2 2.0 THIS VERSION REQUIRES
  107.          the IBM OS/2 2.0 fixes in OS/2 2.0 Standard Edition Service Pack
  108.          XR06055 or the mouse and synchronous child session execution will
  109.          not work correctly.  SP XR06055 is available from your IBM 
  110.          representative and some BBSes.
  111.  
  112.          LOOK2 is, to some extent, a labor of love.  The faithful
  113.          registration of a small, but dedicated group of users has 
  114.          motivated me to create this new version.  These people are 
  115.          responsible for providing me with the enthusiasm to continue
  116.          developing and improving LOOK2.  Thanks folks!
  117.  
  118.          And thanks to everyone for your comments and suggestions!
  119.  
  120.  
  121.      A.  LOOK2 v2.1 is now a 32-bit OS/2 2.x program.  As such LOOK2 is a
  122.          faster, cleaner, more elegant program than before.  It is also
  123.          larger.  This due not only to added functionality, but to the 
  124.          fact that 32-bit programs are, as a rule, 25%-30% larger that
  125.          the same program compiled as 16-bit.  Please note that 
  126.          LOOK2 v2.1 will not run on OS/2 1.x.
  127.         
  128.      B.  LOOK2 is now HPFS/IFS compatible.  The program supports two
  129.          IFS directory screen modes.  One will display one directory entry
  130.          per line, allowing for long file names.   This is the default. 
  131.          The other screen is identical to the FAT system screen, except
  132.          that long filenames will be compressed.  Filenames will be 
  133.          compressed as in the following example:  
  134.             
  135.               A.long.HPFS.file.name   
  136.            will appear as
  137.               A.long.H nam
  138.         
  139.          The entry will still be fully accessible.  Use alt-F to toggle
  140.          between display modes.  Use the /F option to set your preference.
  141.         
  142.      C.  LOOK2 now supports archive content listing capability with six
  143.          default types of archive files (ARC, ARJ, LZH, RAM, ZIP and ZOO).
  144.          You can change the default definitions or add new ones using the
  145.          /C option.  You must have the archive programs in your PATH to
  146.          use this feature.
  147.         
  148.  
  149.                                  - 1 -
  150.        
  151.  
  152.  
  153.          LOOK2 will display the archive listing as a file called $ARC$.LST.
  154.          Whether to delete, keep or "prompt for the fate of" $ARC$.LST is 
  155.          controlled by the /A option or alt-A command.
  156.  
  157.      D.  LOOK2 now supports changing the basic attributes of directory
  158.          entries.  The T command controls this function and works with
  159.          marked entries.  View the directory entries in one column mode
  160.          to see their attribute settings. 
  161.         
  162.      E.  LOOK2 now supports almost as many video lines modes as OS/2 
  163.          under SVGA.  3-109 in windowed mode and 12,14,21,23-30,
  164.          33-34,39-43,45-50,54-60 in fullscreen mode are all valid.
  165.          If you want a good laugh, run LOOK2 after entering MODE 80,3 
  166.          in a OS/2 window, or MODE 80,12 in a OS/2 fullscreen. 
  167.  
  168.      F.  You can now execute DOS .COM, .EXE, and .BAT programs from LOOK2.
  169.          (.EXE programs now do not have to have an .EXE extension)
  170.          You can designate a DOS text editor as your default LOOK2 editor.
  171.  
  172.      G.  Ascending and descending sort keys are now supported.  Enter a sort
  173.          key in lowercase for ascending; uppercase for descending.
  174.  
  175.      H.  Page scrolling in the directory menu with a mouse is now possible
  176.          by left-clicking or left-click-holding the arrows in the upper
  177.          and lower right corners of the screen.
  178.  
  179.      I.  Printing has always been possible in LOOK2.  It just wasn't 
  180.          documented.  Just bring up the Copy prompt and copy the entry 
  181.          to LPT1 or whatever LPT port you use.  
  182.          Try not to print binary files.
  183.  
  184.      J.  The alt-O command shells to an OS/2 prompt from the file or
  185.          the directory screen.  Uses the shell program specified in
  186.          the OS2_SHELL environment variable in CONFIG.SYS.
  187.  
  188.      K.  Mouse clicks on [] prompts will perform that response.
  189.  
  190.      L.  New /M option to set mouse-per-second (mousematic) rate.
  191.  
  192.      M.  The alt-C command (directory case) have been dropped.
  193.          The /C option now has a new function.
  194.  
  195.      N.  Various bug fixes, beautification and cleanup have be performed.
  196.  
  197.  
  198.                                  - 2 -
  199.  
  200.  
  201.  
  202.    2.  HOW TO REGISTER FOR LOOK2.
  203.  
  204.    LOOK2 IS SHAREWARE.  As such, you are expected, if you continue to
  205.    use it after an initial trial period, to register and pay for the use
  206.    of it.  What is the length of the trial period?  Well, I leave that
  207.    partially up to you and partially up to me.  Those of us who have
  208.    used shareware pretty much know when we are done trialing a product
  209.    and have added it to our set of tools.  When you reach that point
  210.    with LOOK2, please register.  HOWEVER, THIS VERSION OF LOOK2 HAS A
  211.    BUILT-IN EXPIRATION DATE.  The period between the release of this
  212.    product and the expiration date is fairly lengthy, allowing plenty of
  213.    time to evaluate this product.  If your copy of LOOK2 expires and you
  214.    still wish to continue using it you should purchase the right to do so.
  215.  
  216.    Registration is easy!  You will be registered for life and
  217.    you will help all my hard work pay off.  Here's what to do:
  218.  
  219.       1.  Fill out a copy of the enclosed order form.  Please print
  220.           or type and be complete.
  221.  
  222.       2.  Mail the order form along with a check or money order 
  223.           for the total number of copies ordered plus tax, if any.
  224.  
  225.       3.  In as short a time as possible, you will receive a letter
  226.           containing a registration number for each name registered
  227.           along with instructions on how to invoke LOOK2's registration
  228.           process. 
  229.  
  230.       4.  When you receive the letter, start up LOOK2 for registration 
  231.           and enter your name and number to it.  Now you are registered.
  232.  
  233.       5.  As a registered user you will be notified by mail of any new 
  234.           versions of LOOK2 and how to download them from a local or 
  235.           national bulletin board.
  236.          
  237.    Corporate multi-user accounts are available, please write for prices.          
  238.  
  239.                                  - 3 -
  240.  
  241.  
  242.  
  243.    3.  INTRODUCTION.
  244.  
  245.  
  246.    What is LOOK2?
  247.  
  248.    LOOK2 is a 32-bit text-based OS/2 directory/file viewing and
  249.    manipulation program.  I decided to write LOOK2 because I felt
  250.    there were no adequate directory/file tools for OS/2 at that time. 
  251.    LOOK2 provides some of the same features of other popular file
  252.    viewers and adds some of its own that none of the others provide.
  253.  
  254.  
  255.    Just some of LOOK2's features are:
  256.  
  257.    o  Directory history.
  258.  
  259.    o  Mouse support.
  260.  
  261.    o  Multiple video modes.
  262.  
  263.    o  Full HPFS/IFS directory support.
  264.  
  265.    o  Multiple ascending/descending sort key directory sorting 
  266.       capability with automatic sorting.
  267.  
  268.    o  File viewing in hexadecimal mode.
  269.  
  270.    o  Toggling between hex and text mode maintaining file position.
  271.  
  272.    o  Direct go to line or offset capability.
  273.  
  274.    o  Text editor invocation.
  275.  
  276.    o  OS/2 and DOS synchronous or asynchronous program execution.
  277.  
  278.    o  Ability to mark and copy, move, delete or change the attributes of
  279.       groups of files and subdirectories at once.
  280.  
  281.    o  Deletion of empty or non-empty directories.
  282.  
  283.    o  And more!
  284.  
  285.  
  286.                                  - 4 -
  287.  
  288.  
  289.  
  290.    LOOK2 Philosophy
  291.  
  292.      One of the main features I wanted to include in LOOK2 was the
  293.    ability to "travel" around among files, directories and drives and
  294.    still be able to easily get back where I started.  With this in mind,
  295.    I built in a directory history feature that, when enabled, remembers
  296.    each directory you have viewed.  Pressing the ESCAPE key from a
  297.    directory screen takes you back to the directory you were in before
  298.    the current one, if one exists.
  299.  
  300.      That being the case, ESCAPE will never cause LOOK2 to terminate.
  301.    ESCAPE is the backout key in LOOK2.  If you're like me, you find it
  302.    annoying when ESCAPE is used prominently to move around in a program
  303.    and also causes the program to terminate, because you often exit the
  304.    program unintentionally.  So, F10 is the only keystroke that will
  305.    cause LOOK2 to terminate.
  306.  
  307.  
  308.                                  - 5 -
  309.  
  310.  
  311.  
  312.    4. RUNNING LOOK2.
  313.  
  314.    Starting LOOK2
  315.  
  316.       LOOK2 is invoked from an OS/2 command prompt by typing
  317.  
  318.         LOOK2 [options] [drive:][path][file]
  319.  
  320.  
  321.    Filespec Variations
  322.  
  323.    If the drive\dir\file (filespec) data is the name of a file, the
  324.    file will be displayed for viewing.  If it is a directory, the
  325.    directory will displayed.  If it contains valid wildcards, any files
  326.    matching the wildcard will be queued for display and the first
  327.    matching file will be displayed.  If no filespec is entered, the
  328.    current directory will be displayed.
  329.  
  330.    If the file or directory cannot be found, LOOK2 displays a message and
  331.    displays the current directory.  If the wildcard had no matches,
  332.    LOOK2 displays a message and then goes to the directory screen either
  333.    of the current directory or the directory (if found) included in the
  334.    wildcard spec.  Please note that the wildcard portion of the filespec
  335.    is for files, not paths.  So, while the following spec is valid...
  336.  
  337.       LOOK2 F:\LOOK2\L*.?
  338.  
  339.  
  340.    This next one is invalid...
  341.  
  342.       LOOK2 F:\LO**\LOOK2.EXE
  343.  
  344.  
  345.  
  346.    Directing LOOK2 with the Keyboard or the Mouse
  347.  
  348.    LOOK2 may be controlled either by a variety of keystrokes or mouse
  349.    actions.  To enter a command either press the upper-cased letter of a
  350.    command listed in the top row of a directory or file screen or click
  351.    it with the left mouse button.
  352.  
  353.    To change an option setting either press ALT and the letter of the
  354.    option or click the option (right of 'Op:' on the top row) with the
  355.    left mouse button.  When an option is enabled, it will be uppercase;
  356.    when disabled, lowercase.  Note, that while directory column count is
  357.    one of the options that can be clicked with the mouse, the
  358.    corresponding keyboard command does not require the ALT key to be
  359.    pressed.  Just press 1 through 5 to change the column count.
  360.  
  361.    ESCAPE is the backout key in LOOK2.  The right mouse button is
  362.    equivalent to ESCAPE.
  363.  
  364.    In directory viewing mode, the mouse may be used on the arrows in 
  365.    the upper and lower right corners of the screen to page scroll.
  366.  
  367.  
  368.                                  - 6 -
  369.  
  370.  
  371.  
  372.    In file viewing mode, the mouse may be used on the right scroll bar
  373.    to scroll through the file.  Also, the cursor may be placed on a text
  374.    item by clicking the left mouse button.   This is useful when using
  375.    Microsoft QuickHelp as a monitor under OS/2 since QuickHelp searches
  376.    for the subject at the cursor location when alt-Q is pressed.
  377.  
  378.  
  379.    Setting LOOK2 Options
  380.  
  381.    Any number of LOOK2 options may be included before the filespec. A LOOK2
  382.    option has the following format.
  383.  
  384.       /o[data]
  385.  
  386.    Where o is an option letter or number and data is some required or
  387.    optional data for the option.  If the option is of the on/off
  388.    variety, the '+' or '-' sign may be included to override settings in
  389.    the LOOK2FLAGS environment variable, where '+' is on and '-' is off.
  390.    If the '+' or '-' are omitted, '+' is the default.  The options do
  391.    not have to be separated by spaces and may be upper or lower case. 
  392.    Do not use a '-' in lieu of the '/'.  For example to turn off any 
  393.    sounds LOOK2 may produce enter:
  394.  
  395.       LOOK2 /B-
  396.  
  397.    Many LOOK2 options correspond to LOOK2 commands to the directory screen
  398.    or file screen or both.
  399.  
  400.  
  401.  
  402.    The LOOK2FLAGS Environment Variable
  403.  
  404.    Any option may be included in the LOOK2FLAGS environment variable.
  405.    When placed there, they will effect any execution of LOOK2.  Note that
  406.    command line options always override the environment variable.  The
  407.    LOOK2FLAGS environment variable may be set in CONFIG.SYS or in any
  408.    .CMD file you run to initialize command prompt sessions.  Do not
  409.    placed filespecs to be viewed in LOOK2FLAGS, only options are
  410.    allowed.  For example to turn off sound, place the following in
  411.    CONFIG.SYS or a .CMD file.
  412.  
  413.       SET LOOK2FLAGS=/B-
  414.  
  415.  
  416.                                  - 7 -
  417.  
  418.  
  419.  
  420.    LOOK2 Options
  421.  
  422.      /1bf       Sets border colors where b is the background color and
  423.                 f is the foreground color.
  424.  
  425.                 Valid colors are:
  426.                 Color        Value    Color           Value
  427.  
  428.                 Black        0        Dark Grey       8
  429.                 Blue         1        Light Blue      9
  430.                 Green        2        Light Green     A
  431.                 Cyan         3        Light Cyan      B
  432.                 Red          4        Light Red       C
  433.                 Magenta      5        Light Magenta   D
  434.                 Brown        6        Light Yellow    E
  435.                 Light Grey   7        White           F
  436.  
  437.                 Please note that colors 8-F used for background colors
  438.                 will cause the foreground to blink in a full-screen session.
  439.  
  440.      /2bf       Sets text colors where b is the background color and
  441.                 f is the foreground color.
  442.  
  443.      /3bf       Sets marked text colors where b is the background color and
  444.                 f is the foreground color.
  445.  
  446.      /A[D|K|P]  Dispatch action on listing file produced from an archive 
  447.                 (e.g. .ZIP) file.  D = delete, K = keep, P = prompt.
  448.                 Default is 'D'.  Corresponding command is alt-A.
  449.  
  450.      /B[+-]     Turns beep mode on or off.  Defaults are on and '+'.
  451.                 Corresponding command is alt-B.
  452.  
  453.      /Cext~pgm~opt1~[optn~]
  454.                 Defines an archive file listing program where ext is the 
  455.                 archive file extension, pgm is the archive program and 
  456.                 opt(s) are the options (commands) to be passed to the 
  457.                 archive program.  The code for examining an archive is
  458.                 not contained in LOOK2.  What LOOK2 does is try to execute
  459.                 a child program passing it appropriate parameters to 
  460.                 produce the listing file.  You must have the archive 
  461.                 programs in your PATH.  
  462.  
  463.                 WARNING!  DO NOT DEFINE AN ARCHIVE PROGRAM IN SUCH A WAY
  464.                 AS TO CAUSE THE PROGRAM TO PROMPT FOR KEYBOARD INPUT
  465.                 DURING EXECUTION.  DOING SO WILL CAUSE THE LOOK2 SESSION
  466.                 TO LOCK UP.
  467.  
  468.                 LOOK2 has six default archive program definitions as follows:
  469.         
  470.                    Archive type    Program name    Options
  471.                    ------------    ------------    -------
  472.                        ARC         ARC2.EXE        v
  473.                        ARJ         ARJ2.EXE        l
  474.                        LZH         LHA2.EXE        l /v /o
  475.                        RAM         LOADRAM2.EXE    /G /Q
  476.                        ZIP         PKUNZIP2.EXE    -vn
  477.                        ZOO         ZOO2.EXE        l
  478.  
  479.                 As an example, the LZH definition in the /C option would be:
  480.  
  481.                   /CLZH~LHA2.EXE~l~/v~/o~
  482.  
  483.                 Then, when you execute the Arc command on the LZH directory
  484.                 entry FOO.LZH, the following command would be excuted:
  485.  
  486.                   LHA2 l /v /o FOO.LZH
  487.           
  488.                 OS/2 versions of the archive programs must be used.
  489.                 These programs are available at little or no fee from BBS'es 
  490.                 everywhere.  If you have these utilities with different names
  491.                 you may rename them or override the default definition using
  492.                 /C.
  493.  
  494.                 See the /A option, Arc command and the alt-A command. 
  495.  
  496.  
  497.      /Dn        Sets number of columns in the directory screen where n is
  498.                 1 - 5.  The fewer the number of columns the more information
  499.                 LOOK2 can display.  Corresponding commands are 1, 2, 3, 4, 5.
  500.  
  501.  
  502.                                  - 8 -
  503.  
  504.  
  505.  
  506.      /Efile~ops~...
  507.                 Filespec of text editor program to be invoked when the 
  508.                 E command is executed and the operands to be passed to it.
  509.                 THIS CAN BE A DOS PROGRAM.
  510.  
  511.                 Where:
  512.                 file  -   Text editor filespec, may be file name only or
  513.                           drive\dir\file.  Include the file extension.
  514.                           If name only must be in PATH=.  Default is EPM.EXE
  515.                 ops   -   Any operands (options) to be passed to the editor.
  516.                           Must be separated by '~'.
  517.  
  518.                 See the /X option.
  519.  
  520.      /F[+-]     IFS (HPFS) directory screen mode.  '-' Fully expands long
  521.                 filenames (as much as will fit on one line).  '+' compresses
  522.                 long filenames in a screen that looks like the typical
  523.                 LOOK2 screen for FAT file systems.  Default is '-'. 
  524.                 Corresponding command is alt-F.
  525.  
  526.      /I[+-]     Turns directory history tracking on or off.  Default is on.
  527.                 Corresponding command is alt-I.
  528.  
  529.      /K[k|K][f|F][e|E][s|S][d|D][t|T][a|A]
  530.                 Directory menu sort keys where possible settings are any
  531.                 combination and sequence of:
  532.  
  533.                 k or K  -  Kind (directory or file)
  534.                 f or F  -  File name
  535.                 e or E  -  File extension
  536.                 s or S  -  File size
  537.                 d or D  -  File last write date
  538.                 t or T  -  File last write time
  539.                 a or A  -  File attributes
  540.  
  541.                 Lowercase sort key causes ascending sort.
  542.                 Uppercase sort key causes descending sort.
  543.                 Default is kfe.
  544.  
  545.      /L[+-]     Causes (in directory screen) scroll down from bottom or
  546.                 scroll up from top to "loop" back to the other end.  When 
  547.                 off, LOOK2 beeps when a scroll passed top or bottom of list
  548.                 is attempted.  Default is off.
  549.                 Corresponding command is alt-L.
  550.  
  551.      /Mn        Set mouse-per-second (mousematic) rate.  Valid values are
  552.                 1 - 1000.  Default is 20.
  553.  
  554.      /Pn        Number of seconds LOOK2 displays a message before the message
  555.                 is cleared.  Valid values are 0 - 9.  Zero (0) means the 
  556.                 message will not be cleared until a keyboard or mouse action 
  557.                 occurs.  Default is 3.
  558.  
  559.      /S[+-]     Sets text search case sensitivity.  Default is off.
  560.                 Corresponding command is alt-S.
  561.  
  562.                                  - 9 -
  563.  
  564.  
  565.  
  566.      /Tn        Set the width of a tab character and a horizontal scroll.
  567.                 Valid values are 0-8.  Default is 8.  The alt-T command
  568.                 toggles text display tab expansion on and off.
  569.  
  570.      /Vnn       Set video display mode line count.  Valid values are many.
  571.                 On a SVGA monitor, 3-109 in windowed mode and 12,14,21,
  572.                 23-30,33-34,39-43,45-50,54-60 in fullscreen mode are all
  573.                 valid.  Default is setting of session when LOOK2 is started.
  574.                 Corresponding command is alt-V.
  575.  
  576.      /W[+-]     Turn on or off long line wrapping in text file viewing mode.
  577.                 Default is off.  Corresponding command is alt-W.
  578.  
  579.      /Xn        Set default screen type of program executed with the
  580.                 X command or the E command.  Valid settings are:
  581.  
  582.                 0  -  Get definition from the program.
  583.                 1  -  Full-screen.
  584.                 2  -  Windowed.
  585.                 8  -  Whatever LOOK2 is currently running under.
  586.  
  587.                 Default is 0.  Note that this option is really useful
  588.                 to set how to execute window-compatible or DOS programs.
  589.                 Obviously, PM programs will always execute as PM 
  590.                 programs, and non-window-compatible text-based OS/2
  591.                 programs will always executed in a fullscreen.
  592.                 But, window-compatible text-based OS/2 programs and 
  593.                 DOS programs will be influenced by this option. 
  594.                 
  595.                                  - 10 -
  596.  
  597.  
  598.  
  599.    5.  THE DIRECTORY SCREEN.
  600.  
  601.    The LOOK2 directory screen presents a list of the entries in the
  602.    current directory plus all the drives on your computer.  The first
  603.    entry will be highlighted.  By using the direction keys or
  604.    single-clicking the mouse, you may highlight any entry.  By pressing
  605.    ENTER or double-clicking the mouse on an entry, the entry will be
  606.    opened.  That is, either the file will be displayed or the directory
  607.    or drive will be entered and displayed.  Some directory screen
  608.    commands operate on the currently highlighted entry.
  609.  
  610.    Directories are identified by an up-arrow or down-arrow prefix.  
  611.    Up-arrow indicates the parent directory and will prefix only '..'.
  612.    Down-arrow indicates a subdirectory.  Drives are identified by a ':' 
  613.    in the second position and always appear last in the display.
  614.  
  615.  
  616.    Directory Screen Option Commands
  617.  
  618.    The settings of the directory screen options are displayed on the
  619.    right side of the top line of the display next to the 'Op:'
  620.    heading.  Letter settings in uppercase indicate the option is on;
  621.    lowercase indicates the option is off.  The settings 1, 2, 3, 4, 5 
  622.    in column 73 indicate the number of directory columns.
  623.     
  624.  
  625.    The setting may be toggled by single-clicking the option setting with
  626.    the left mouse button or by the following keyboard actions.
  627.  
  628.    1 - 5  -  Changes directory menu to the specified number of columns
  629.              The fewer the columns, the more information per entry is
  630.              displayed.
  631.  
  632.              In the one column display the information displayed is:
  633.              Filename  Extension  Size  Date  Time  Attributes
  634.  
  635.              One column of information above is removed from the right (left
  636.              in IFS mode) for each one column increase in the display.  
  637.              Corresponding command line option /D.
  638.  
  639.    alt-A  -  Toggle archive list file dispatch action.  Corresponding 
  640.              command line option /A.  See also the /C option.
  641.  
  642.    alt-B  -  Toggle beep on or off.  Corresponding command line option /B.
  643.  
  644.    alt-F  -  Toggle directory screen display type for non-FAT systems.
  645.              Corresponding command line option /F.
  646.  
  647.    alt-I  -  Toggle directory history on or off.  When on, user will be
  648.              able to return to previously visited directories by pressing
  649.              ESCAPE or the right mouse button.  Corresponding command line
  650.              option /I.
  651.  
  652.  
  653.                                  - 11 -
  654.  
  655.  
  656.  
  657.    alt-L  -  Toggle directory scroll looping on or off.  When on, scrolls up
  658.              from top or down from bottom will "loop" to the other end.
  659.              Corresponding command line option /L.
  660.  
  661.    alt-O  -  Shells to a OS/2 command prompt.  Uses the shell program
  662.              specified in the OS2_SHELL environment variable in CONFIG.SYS.
  663.              Enter 'exit' to return to LOOK2.
  664.  
  665.    alt-V  -  Prompts for video lines mode.  Corresponding command line
  666.              option /V.
  667.  
  668.  
  669.    Directory Screen Action Commands
  670.  
  671.    For commands in upper and lower case, the upper case letter is the command
  672.    hot key.
  673.  
  674.    HOME, END, UP, DOWN, LEFT, RIGHT, PAGE-UP, PAGE-DOWN
  675.                -  Move light bar to highlight an entry name.
  676.  
  677.    ENTER       -  Go to a new drive or directory or open a file for viewing.
  678.  
  679.    INSERT      -  Marks the current entry for group copy, move or delete.
  680.                   Parent directories and drives cannot be marked.  When
  681.                   a entry is marked, a flashing check mark will appear
  682.                   between the filename and its extension.
  683.  
  684.    DELETE      -  Unmarks the current entry.
  685.  
  686.    alt-INSERT  -  Marks all entries.
  687.  
  688.    alt-DELETE  -  Unmarks all entries.
  689.  
  690.    
  691.    Arc         -  Prompts whether to create a listing file of the current
  692.                   entry.  You may change the current archive programs
  693.                   options at this point. If LOOK2 cannot determine the 
  694.                   archive's type from its extension, it will prompt you
  695.                   for it.  See /A option, the /C option and the alt-A
  696.                   command.
  697.  
  698.    ATtr        -  Prompts for new basic attributes of the current entry 
  699.                   or marked entries.  Enter any of the following:
  700.  
  701.                      A or a  --  Archive
  702.                      H or h  --  Hidden
  703.                      S or s  --  System 
  704.                      R or r  --  Read-only
  705.   
  706.                   Uppercase turns the attribute on; lowercase turns it off.
  707.  
  708.    Copy        -  Prompts the user for a location (directory or file)
  709.                   and copies the current entry or the marked entries to
  710.                   the location the user specifies.  
  711.  
  712.    Delete      -  Prompts the user for verification and deletes
  713.                   current entry or the marked entries.
  714.  
  715.  
  716.                                  - 12 - 
  717.  
  718.  
  719.  
  720.    Edit        -  Invokes the editor specified in the /E option (or
  721.                   EPM.EXE if /E not entered) to edit the current entry.
  722.                   Directories and drives cannot be edited.  See the /E and
  723.                   /X options.
  724.  
  725.    eXec        -  Prompts for arguments to the OS/2 or DOS program entry
  726.                   and whether or not the program should be executed 
  727.                   asynchronously then the executes the current entry 
  728.                   if it has a .EXE, .COM, .CMD or .BAT extension.
  729.                   (.EXE programs do not have to have an .EXE extension.)
  730.                   If the program is executed  synchronously, the program
  731.                   must terminate before control will return to LOOK2.  If 
  732.                   executed asynchronously, the program executes completely
  733.                   separate of and continues to execute even after LOOK2 
  734.                   terminates.  See the /X option.
  735.  
  736.    mKdir       -  Prompts for a new directory name and creates it.
  737.  
  738.    sPec        -  Prompts for a new filespec (directory, file or wildcard)
  739.                   and displays it.
  740.  
  741.    Move        -  Prompts the user for a location (directory or file)
  742.                   and moves the current entry or the marked entries to
  743.                   the location the user specifies.
  744.  
  745.    Rename      -  Prompts the user for a new name and renames the
  746.                   current entry to that name.
  747.  
  748.    Sort        -  Prompts the user for sort keys and sorts the current
  749.                   directory display accordingly.  Multiple sort keys are
  750.                   allowed.  Drive letters are not included in the sort.
  751.                   Possible values are any combination and sequence of:
  752.   
  753.                      k or K  --  Kind (directory or file)
  754.                      f or F  --  File name
  755.                      e or E  --  File extension
  756.                      s or S  --  File size
  757.                      d or D  --  File last write date
  758.                      t or T  --  File last write time
  759.                      a or A  --  File attributes
  760.   
  761.                   Lowercase sort key causes ascending sort.  Uppercase 
  762.                   sort key causes descending sort.  The default is kfe.
  763.                   Once sort keys are entered, they are active for any new 
  764.                   directory LOOK2 displays until they are changed or 
  765.                   cleared.  If you request a sort but enter no keys 
  766.                   (i.e just press enter), the current sort keys are 
  767.                   cleared and no sorting is performed until new sort 
  768.                   keys are entered. 
  769.  
  770.    ESCAPE      -  Go to previous directory in history.
  771.  
  772.    F1          -  Display help screens.
  773.  
  774.    F10         -  Terminate LOOK2.
  775.  
  776.  
  777.                                  - 13 - 
  778.  
  779.  
  780.  
  781.    Directory Mouse Actions
  782.  
  783.    Left click commands to execute.
  784.  
  785.    Left click options to toggle.
  786.  
  787.    Left click a directory entry to highlight it.
  788.  
  789.    Left double-click a directory entry to open a file or enter a
  790.    directory or drive.
  791.  
  792.    Left-click or left-click-hold arrows in upper and lower right 
  793.    corners to page scroll.
  794.  
  795.    Left-click on [] prompts (e.g. [Y]/[n]) will execute that response.
  796.  
  797.    Right click is the same as ESCAPE.
  798.  
  799.  
  800.  
  801.    Directory Screen Usage Notes
  802.  
  803.    
  804.    To print, Copy the entry to LPT1 or whatever LPT port you use.
  805.  
  806.    If a subdirectory is the object of a copy command, then the target
  807.    name entered will be an existing or new directory.
  808.  
  809.    Only the Attribute, Copy, Move and Delete commands can be operated
  810.    upon marked entries.  Other commands can be executed upon the current
  811.    entry while entries are marked.  But, be aware: Some commands force a
  812.    re-read of the directory which clears all marks.
  813.  
  814.    Group copies to a file target do NOT concatenate, so there is no 
  815.    reason to do this.
  816.  
  817.    Moves across drives are not allowed.  Use the Copy, then the Delete 
  818.    commands.
  819.  
  820.    If a file has the read-only attribute set, LOOK2 will notify the user
  821.    upon a delete request, but will carry out the deletion if the user 
  822.    desires.
  823.  
  824.    If you try to delete a non-empty directory, LOOK2 will warn you that you
  825.    are about to do so.  You may then abort or proceed with the deletion.
  826.  
  827.    Pressing ESCAPE or clicking the right mouse button will clear a dialog 
  828.    box and abort the corresponding function.
  829.  
  830.    Pressing ESCAPE or clicking the right mouse button will cause LOOK2 to
  831.    go to the previously displayed directory.
  832.  
  833.  
  834.                                  - 14 - 
  835.  
  836.  
  837.  
  838.    6.  THE FILE SCREEN.
  839.  
  840.    The LOOK2 file screen presents a single file to be viewed.  The
  841.    direction keys or mouse actions on the scroll bar on the right may be
  842.    used to scroll through the file.  The file may be displayed in either
  843.    text or hex mode.  Lines may be wrapped if desired.
  844.  
  845.  
  846.    File Screen Option Commands
  847.  
  848.    The settings of the files screen options are displayed on the right
  849.    side of the top line of the display next to the 'Op:' heading.
  850.    Letter settings in uppercase indicate the option is on; lowercase 
  851.    indicates the option is off.  The settings 1, 2, 3, 4, 5 in column 73
  852.    indicate directory column count.
  853.  
  854.    A setting may be toggled by single-clicking the option setting with
  855.    the left mouse button or by the following keyboard actions.
  856.  
  857.    alt-B  -  Toggle beep on or off.  Corresponding command line option /B.
  858.  
  859.    alt-H  -  Toggle hex display on or off.
  860.  
  861.    alt-O  -  Shells to a OS/2 command prompt.  Uses the shell program
  862.              specified in the OS2_SHELL environment variable in CONFIG.SYS.
  863.              Enter 'exit' to return to LOOK2.
  864.  
  865.    alt-S  -  Toggle case sensitivity of text searches.
  866.              Corresponding command line option /S.
  867.  
  868.    alt-T  -  Toggle expansion of tabs on or off.  The tab width is
  869.              set by the /T option.  Default is 8.
  870.  
  871.    alt-W  -  Toggle line wrap on or off.  Corresponding command line
  872.              option /W.
  873.  
  874.    alt-V  -  Prompts for video lines mode.  Corresponding command line
  875.              option /V.
  876.  
  877.  
  878.                                  - 15 -
  879.  
  880.  
  881.  
  882.    File Screen Action Commands
  883.  
  884.    For commands in upper and lower case, the upper case letter is the command
  885.    hot key.
  886.  
  887.    HOME, END, UP, DOWN, LEFT, RIGHT, PAGE-UP, PAGE-DOWN
  888.                -  Scroll through file.
  889.  
  890.    alt-LEFT    -  Go to column one.
  891.  
  892.    Goto        -  Prompts for a line number in text mode or a hex or 
  893.                   decimal offset in hex mode and goes to it.
  894.  
  895.    sPec        -  Prompts for a new filespec (directory, file or wildcard)
  896.                   and displays it.
  897.  
  898.    Quit        -  Go to next file in wildcard match list if wildcard
  899.                   was input.  Goes to directory screen if at end of 
  900.                   end of wildcard list or no wildcard was input.
  901.  
  902.    ESCAPE      -  Go to directory menu.
  903.  
  904.    F1          -  Display help screens.
  905.  
  906.    F2          -  Prompts for a string and then searches forward for it
  907.                   starting at the current position.  Use alt-S to turn
  908.                   case sensitivity on or off.
  909.  
  910.    F3          -  Searches again for the last input string.  Case sensitivity
  911.                   may be toggled in between searches.
  912.  
  913.    F10         -  Terminate LOOK2.
  914.  
  915.  
  916.    File Mouse Actions
  917.  
  918.    Left click commands to execute.
  919.  
  920.    Left click options to toggle.
  921.  
  922.    Double left click scroll bar arrows to go to the top or bottom of
  923.    the file.
  924.  
  925.    Left click or left click and hold on arrows to scroll up or down a
  926.    line at a time.
  927.  
  928.    Left click or left click and hold on scroll bar body above or below
  929.    elevator to scroll up or down a page at a time.
  930.  
  931.    Left click on text to place cursor.  This is useful when running
  932.    QuickHelp as a monitor since QuickHelp will do an automatic search on
  933.    the subject above the cursor when alt-Q is pressed.
  934.  
  935.    Right click is the same as ESCAPE.
  936.  
  937.  
  938.                                  - 16 -
  939.  
  940.  
  941.  
  942.    File Screen Usage Notes
  943.  
  944.    Files with certain extensions will be brought up initially in hex mode.
  945.    The currently supported extensions are:
  946.       
  947.       .EXE  
  948.       .COM  
  949.       .DLL
  950.       .OBJ
  951.       .LIB
  952.       .SYS (except CONFIG.SYS)
  953.       .DRV
  954.       .BIN
  955.       .FNT
  956.       .BMP
  957.       .GIF
  958.       .ARC
  959.       .ARJ
  960.       .LZH
  961.       .RAM
  962.       .ZIP
  963.       .ZOO
  964.       .INI
  965.       .IFS
  966.  
  967.    When wrap mode is on, scroll actions still move by the text line.  So,
  968.    if a line is wrapped once, scrolling passed it will cause the LOOK2 to
  969.    scroll two screen lines.
  970.  
  971.    Toggling between text and hex modes will keep the current file
  972.    position.  When you toggle from hex to text mode after scrolling in
  973.    hex mode LOOK2 must search for the current position from the top or 
  974.    bottom of the file in order to determine the line number.  So, there
  975.    may be a slight delay when viewing large files.
  976.  
  977.    Searches done from hex mode will place the display in text mode.
  978.  
  979.    Text marks set on file searches are cleared when a message is cleared.
  980.  
  981.    Use the Goto command to move to a line number in text mode or a hex or 
  982.    decimal offset in hex mode.
  983.  
  984.    Pressing ESCAPE or clicking the right mouse button will clear a dialog 
  985.    box and abort the corresponding function.
  986.  
  987.    Pressing ESCAPE or clicking the right mouse button will cause LOOK2 to
  988.    go to the current directory display.
  989.  
  990.                                      
  991.                                  - 17 -
  992.  
  993.  
  994.  
  995.    7. OTHER LOOK2 NOTES
  996.  
  997.  
  998.    LOOK2 uses a separate thread to clear messages displayed upon the
  999.    screen.  The /P command sets the number of seconds LOOK2 displays a
  1000.    message before clearing it.  Valid setting are 0 through 9.  Zero (0)
  1001.    turns off timed message clearing.  The default is 3 seconds.
  1002.  
  1003.    If a message is displayed, any keystroke or mouse action will clear
  1004.    it immediately.  The action will then be carried out.  The exception
  1005.    is ESCAPE (and right mouse button).  If these are input when a message 
  1006.    is displayed, the message is cleared, but the ESCAPE action is not
  1007.    carried over to the parent screen.  So, ESCAPE can be used to clear a
  1008.    message at any time.  NOTE:  Some special messages cannot be cleared
  1009.    by a keystroke, but will clear themselves in a second or two.
  1010.  
  1011.                                  - 18 -
  1012.